package com.xzssmk.leisure.x.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.CardType;
import com.xzssmk.leisure.x.po.CardTypeExample;
import com.xzssmk.leisure.x.po.CardTypeSelect;

public interface CardTypeMapper {
    long countByExample(CardTypeExample example);

    int deleteByExample(CardTypeExample example);

    int deleteByPrimaryKey(Integer cardTypeId);

    int insert(CardType record);

    int insertSelective(CardType record);

    List<CardType> selectByExample(CardTypeExample example);

    CardType selectByPrimaryKey(Integer cardTypeId);

    int updateByExampleSelective(@Param("record") CardType record, @Param("example") CardTypeExample example);

    int updateByExample(@Param("record") CardType record, @Param("example") CardTypeExample example);

    int updateByPrimaryKeySelective(CardType record);

    int updateByPrimaryKey(CardType record);

    int deleteByPrimaryKeys(@Param("idlist") List<Integer> idlist);

    List<CardType> getPageList(@Param("subSQL") String subSQL);

    List<CardTypeSelect> getCardTypeSelect();

    CardType getTypeSymbol(@Param("typeSymbol") String typeSymbol);
}